﻿using Avalonia.Media;

namespace Avalonia.BiliBili.Libs.Models
{
    public sealed class DevoteModel
    {
        public int Type { get; set; }
        public int RankIndex { get; set; }
        public string Score { get; set; }
        public string UName { get; set; }
        public SolidColorBrush MedalColor { get; set; }
        public string MedalName { get; set; }
        public int MedalLv { get; set; }
        public bool HasScore => !string.IsNullOrEmpty(Score) && Score != "0";
        public bool HasMedal => !string.IsNullOrEmpty(MedalName);
    }
}